package exam2006.question3;

import javassist.CannotCompileException;
import javassist.ClassPool;
import javassist.NotFoundException;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		SingletonTranslator st = new SingletonTranslator();
		ClassPool pool = ClassPool.getDefault();
		try {
			st.onLoad(pool, "exam2006.question3.Point");
			st.start(pool);
			System.out.println("done");

		} catch (NotFoundException e) {
			e.printStackTrace();
		} catch (CannotCompileException e) {
			e.printStackTrace();
		}

	}

}
